package com.itheima.crops.pojo;

import java.io.Serializable;
import java.util.List;

public class Crops implements Serializable {
    private Pcrops pcrops;
    private List<PcropsIndexInfo> pcropsIndexInfos;
    private List<Disease> diseases;

    public Crops() {
    }

    public Crops(Pcrops pcrops, List<PcropsIndexInfo> pcropsIndexInfos, List<Disease> diseases) {
        this.pcrops = pcrops;
        this.pcropsIndexInfos = pcropsIndexInfos;
        this.diseases = diseases;
    }

    public Pcrops getPcrops() {
        return pcrops;
    }

    public void setPcrops(Pcrops pcrops) {
        this.pcrops = pcrops;
    }

    public List<PcropsIndexInfo> getPcropsIndexInfos() {
        return pcropsIndexInfos;
    }

    public void setPcropsIndexInfos(List<PcropsIndexInfo> pcropsIndexInfos) {
        this.pcropsIndexInfos = pcropsIndexInfos;
    }

    public List<Disease> getDiseases() {
        return diseases;
    }

    public void setDiseases(List<Disease> diseases) {
        this.diseases = diseases;
    }
}
